import request from '@/utils/request'
// 查询卡密列表
export function getMyKeyTableDataInfo(query) {
    return request({
        url: '/sysUserKey/selectSysKeyList',
        method: 'get',
        params: query
    })
}

// 新增卡密
export function addKey(data) {
    return request({
        url: '/sysUserKey/addKey',
        method: 'post',
        data: data
    })
}
// 删除卡密
export function delKey(data) {
    return request({
        url: '/sysUserKey/delKey',
        method: 'post',
        data: data
    })
}

// 封停卡号
export function shutDown(data) {
    return request({
        url: '/sysUserKey/shutDown?key=' + data,
        method: 'post'
    })
}